package com.scm.platform;

import com.alibaba.dubbo.config.annotation.Reference;
import com.scm.platform.rpc.service.admin.DubboService;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author dingc
 * @date 2017/9/14.
 */
@Component
public class TestRpcService {

    @Reference(version = "1.0.0")
    public DubboService dubboService;

    public Map test(){
        return this.dubboService.getUser(null);
    }

}
